package com.lp.biz.order.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.lp.common.constant.CommonConstant.DATE_TIME;
import static com.lp.common.constant.CommonConstant.TIMEZONE;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-06-15 14:49:31
 */
@Data
public class OrderList {

    private Integer id;

    private String orderNum;

    private Integer orderType;

    private Integer membersType;

    private String title;

    private String nickName;

    private String phone;

    private BigDecimal actualPrice;

    private BigDecimal payPrice;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
    private LocalDateTime createAt;

    private Integer status;

    /**
     * 手续费
     */
    private BigDecimal commissionCharge;

    /**
     * 佣金
     */
    private BigDecimal kickbackCharge;

    /**
     * 优惠券金额
     */
    private BigDecimal couponCharge;
}
